<template>
  <el-row :gutter="20">
    <el-col :span="6"
      ><div class="grid-content ep-bg-purple">
        <el-button @click="fn">跳转到我的页面</el-button>
      </div></el-col
    >
    <el-col :span="6"><div class="grid-content ep-bg-purple"></div></el-col>
    <el-col :span="6"><div class="grid-content ep-bg-purple"></div></el-col>
    <el-col :span="6"><div class="grid-content ep-bg-purple"></div></el-col>
  </el-row>
  <el-row :gutter="20">
    <el-col :span="12"><div class="grid-content ep-bg-purple"></div></el-col>
    <el-col :span="12"><div class="grid-content ep-bg-purple"></div></el-col>
  </el-row>
  <el-row :gutter="20">
    <el-col :span="12"><div class="grid-content ep-bg-purple"></div></el-col>
    <el-col :span="12"><div class="grid-content ep-bg-purple"></div></el-col>
  </el-row>
</template>

<script>
export default {
  methods: {
    fn() {
      this.$router.push("/mine");
    },
  },
};
</script>

<style scoped>
.el-row {
  margin-bottom: 20px;
}
.el-row:last-child {
  margin-bottom: 0;
}
.el-col {
  border-radius: 4px;
}

.grid-content {
  border-radius: 4px;
  height: 193px;
}

.ep-bg-purple {
  background-color: lightblue;
}
</style>
